/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package specifications;

import org.yaml.snakeyaml.TypeDescription;
import org.yaml.snakeyaml.constructor.Constructor;
import rubric.ScoredDirective;

/**
 *
 * @author Jason
 */
public class GlobalConstructor extends Constructor {
    
    public GlobalConstructor(){
       this.addTypeDescription(new TypeDescription(AdditionalTasks.class, AdditionalTasks.TAG));
       this.addTypeDescription(new TypeDescription(Audience.class, Audience.TAG));
       this.addTypeDescription(new TypeDescription(Complexity.class, Complexity.TAG));
       this.addTypeDescription(new TypeDescription(Contact.class, Contact.TAG));
       this.addTypeDescription(new TypeDescription(ContentCorrespondence.class, ContentCorrespondence.TAG));
       this.addTypeDescription(new TypeDescription(Count.class, Count.TAG));
       this.addTypeDescription(new TypeDescription(Directive.class, Directive.TAG));
       this.addTypeDescription(new TypeDescription(Expectations.class, Expectations.TAG));
       this.addTypeDescription(new TypeDescription(FileFormat.class, FileFormat.TAG));
       this.addTypeDescription(new TypeDescription(Layout.class, Layout.TAG));
       this.addTypeDescription(new TypeDescription(Origin.class, Origin.TAG));
       this.addTypeDescription(new TypeDescription(Permissions.class, Permissions.TAG));
       this.addTypeDescription(new TypeDescription(ProviderDirective.class, ProviderDirective.TAG));
       this.addTypeDescription(new TypeDescription(Purpose.class, Purpose.TAG));
       this.addTypeDescription(new TypeDescription(ReferenceMaterials.class, ReferenceMaterials.TAG));
       this.addTypeDescription(new TypeDescription(Register.class, Register.TAG));
       this.addTypeDescription(new TypeDescription(SpecializedLanguage.class, SpecializedLanguage.TAG));
       this.addTypeDescription(new TypeDescription(Specifications.class, Specifications.TAG));
       this.addTypeDescription(new TypeDescription(Style.class, Style.TAG));
       this.addTypeDescription(new TypeDescription(Submissions.class, Submissions.TAG));
       this.addTypeDescription(new TypeDescription(TargetLanguage.class, TargetLanguage.TAG));
       this.addTypeDescription(new TypeDescription(Technology.class, Technology.TAG));
       this.addTypeDescription(new TypeDescription(TextualCharacteristics.class, TextualCharacteristics.TAG));
       this.addTypeDescription(new TypeDescription(TypicalTasks.class, TypicalTasks.TAG));
       this.addTypeDescription(new TypeDescription(Volume.class, Volume.TAG));
       this.addTypeDescription(new TypeDescription(WorkplaceRequirements.class, WorkplaceRequirements.TAG));
       this.addTypeDescription(new TypeDescription(ScoredDirective.class, ScoredDirective.TAG));
    }
}
